package com.duoketech.routes;

import com.duoketech.controller.weixin.*;
import com.duoketech.interceptor.WxMemberInterceptor;
import com.jfinal.config.Routes;

public class WeiXinRoutes  extends Routes {
    @Override
    public void config() {
        setBaseViewPath("/WEB-INF/view/weixin");
        addInterceptor(new WxMemberInterceptor());
        add("/weixin",WeiXinController.class,"/");
        add("/weixin/mine",WxMineController.class,"/mine");
        add("/weixin/activity",WxActivityController.class,"/activity");
        add("/weixin/room",WxRoomController.class,"/room");
        add("/weixin/cart",WxCartController.class,"/cart");
        add("/weixin/order",WxOrderController.class,"/order");
        add("/weixin/product",WxProductController.class,"/product");
        add("/weixin/receiver",WxReceiverController.class,"/receiver");
        add("/weixin/pay",WxPayController.class,"/pay");
        add("/weixin/party",PartyController.class,"/party");
    }
}
